home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-10 / statm_co.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-09-01  |  4KB  |  96 lines

  1. echo off
  2. cls
  3. if not %2x==x goto START
  4. goto BEGIN
  5. :BEGIN
  6. echo.
  7. echo.
  8. echo.
  9. echo      ╔═╡ Installing StatMaster ╞═══════════════════════════════════════╗
  10. echo      ║                                                                 ║
  11. echo      ║ To install StatMaster to drive C, in a subdirectory called SM,  ║
  12. echo      ║ type "INSTALL C CO" at the prompt, then press ENTER (─┘).      ║
  13. echo      ║                                                                 ║
  14. echo      ║ To install StatMaster to drive D, in a subdirectory called CO   ║
  15. echo      ║ (for Colorado), type "INSTALL D CO", then press ENTER (─┘).    ║
  16. echo      ║                                                                 ║
  17. echo      ║ To install StatMaster to another drive and/or subdirectory, use ║
  18. echo      ║ the syntax: "INSTALL drivename subdirectory".                   ║
  19. echo      ║                                                                 ║
  20. echo      ║ Please type your command line at the prompt now . . .           ║
  21. echo      ║                                                                 ║
  22. echo      ╚═════════════════════════════════════════════════════════════════╝
  23. fill 3,5,67,14,1,e
  24. fill 3,8,23,1,1,f
  25. echo.
  26. echo.
  27. goto FINISH
  28. :START
  29. echo.
  30. echo.
  31. echo.
  32. echo                StatMaster will be installed to: %1:\%2
  33. fill 3,48,12,1,0,F
  34. echo.
  35. echo.
  36. echo      ╔═╡ Select an Option ╞═══════════════════════════════════╗
  37. echo      ║                                                        ║
  38. echo      ║  A. Install the software to the path specified above.  ║
  39. echo      ║                                                        ║
  40. echo      ║  B. Oops!  Let me change the path specified above.     ║
  41. echo      ║                                                        ║
  42. echo      ╚════════════════════════════════════════════════════════╝
  43. fill 6,5,58,7,1,e
  44. fill 6,8,18,1,1,f
  45. echo.
  46. echo                    Please select A or B now.
  47. echo.
  48. keypress AB
  49. if errorlevel 2 goto OOPS
  50. if errorlevel 1 goto DOIT
  51. echo      Sorry, that was an invalid selection, please try again.
  52. wait 2
  53. cls
  54. goto START
  55. echo
  56. :OOPS
  57. fill 10,7,54,1,0,f
  58. wait 3
  59. cls
  60. goto BEGIN
  61. :DOIT
  62. fill 8,7,54,1,0,f
  63. wait 2
  64. cls
  65. echo.
  66. echo.
  67. echo      INSTALL will now create the specified subdirectory, then copy
  68. echo      and uncompress the information it needs to your hard drive . . .
  69. echo.
  70. echo.
  71. stat-co %1:\%2 /w
  72. echo.
  73. echo      The installation is now complete . . .
  74. wait 2
  75. cls
  76. echo.
  77. echo.
  78. echo    ╔════════════════════════════════════════════════════════════════╗
  79. echo    ║                                                                ║
  80. echo    ║   For an introduction to StatMaster Desktop Demographics, type ║
  81. echo    ║ "INFO" now, then press the Enter key (─┘).                    ║
  82. echo    ║                                                                ║
  83. echo    ║   To start the program, make sure you are logged onto the sub- ║
  84. echo    ║ directory you created, type the two-letter state code for the  ║
  85. echo    ║ state you installed (CO), then press the Enter key (─┘).      ║
  86. echo    ║                                                                ║
  87. echo    ║   If you have difficulties with this installation or any other ║
  88. echo    ║ aspect of StatMaster, please call CyberSoft at (602)491-0022.  ║
  89. echo    ║                                                                ║
  90. echo    ╚════════════════════════════════════════════════════════════════╝
  91. fill 2,3,66,13,1,e
  92. %1:
  93. cd \%2
  94. echo.
  95. :FINISH
  96.